<template>
    <ScaleBox>
        <div class="largeScreen">
            <div class="my-header">
                <top-header/>
            </div>
            <div class="my-main">
                <div class="my-left">
                    <div class="my-left-top">
                        <BarGraph2/>
                    </div>

                    <div class="my-left-center">
                        <BarGraph2/>
                    </div>

                    <div class="my-left-bottom">
                        <BarGraph2/>
                    </div>
                </div>

                <div class="my-center">
                    <div class="my-center-top">
                        <scroll-board/>
                    </div>

                    <div class="my-center-bottom">
                        <cards style="margin: 15px 0"/>
                        <cards/>
                    </div>
                </div>

                <div class="my-right">
                    <div class="my-right-top">
                        <BarGraph2/>
                    </div>

                    <div class="my-right-center">
                        <BarGraph2/>
                    </div>

                    <div class="my-right-bottom">
                        <BarGraph2/>
                    </div>
                </div>
            </div>

        </div>
    </ScaleBox>
</template>

<script>

import ScaleBox from "@/components/scaleBox/SacleBox.vue";
import DataView from "@/components/datav/index.vue";
import topHeader from "@/components/datav/topHeader.vue";
import BarGraph2 from "@/views/dataView/BarGraph2.vue";
import digitalFlop from "@/components/datav/digitalFlop.vue";
import scrollBoard from "@/components/datav/scrollBoard.vue";
import roseChart from "@/components/datav/roseChart.vue";
import waterLevelChart from "@/components/datav/waterLevelChart.vue";
import rankingBoard from "@/components/datav/rankingBoard.vue";
import cards from "@/components/datav/cards.vue";

// 大屏
export default {
    name: 'LargeScreen',
    components: {
        cards,
        rankingBoard,
        waterLevelChart, roseChart, scrollBoard, digitalFlop, BarGraph2, topHeader, DataView, ScaleBox},
    data() {
        return {}
    }
}
</script>

<style lang="scss" scoped>
.largeScreen {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    color: #fff;
    background-color: #030409;
    box-sizing: border-box;
    background-image: url('/public/img/bg.png');

    .my-header {
        height: 6%;
        box-sizing: border-box;
        border: 1px solid red;



    }

    .my-main {
        display: flex;
        width: 100%;
        height: 94%;
        box-sizing: border-box;

        .my-left {
            flex: 1;
            display: flex;
            flex-direction: column;
            height: 100%;
            box-sizing: border-box;
            border: 1px solid coral;

            .my-left-top{
                flex: 1;

            }

            .my-left-center{
                flex: 1;
            }

            .my-left-bottom{
                flex: 1;
            }


        }

        .my-center {
            flex: 2;
            display: flex;
            flex-direction: column;
            height: 100%;
            box-sizing: border-box;
            border: 1px solid aquamarine;

            .my-center-top{
                flex: 1;
            }

            .my-center-bottom{
                flex: 5;
            }

        }

        .my-right {
            flex: 1;
            display: flex;
            flex-direction: column;
            height: 100%;
            box-sizing: border-box;
            border: 1px solid #1294fb;


            .my-right-top{
                flex: 1;

            }

            .my-right-center{
                flex: 1;
            }

            .my-right-bottom{
                flex: 1;
            }

        }
    }

}
</style>
